package cn.hu.pet.service;

import cn.hu.basic.domain.dto.PetDto;
import cn.hu.basic.util.AjaxResult;
import cn.hu.pet.domain.Pet;
import cn.hu.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Hu
 * @since 2022-12-27
 */
public interface IPetService extends IBaseService<Pet> {

    void addByPetDto(PetDto petDto, HttpServletRequest request) throws Exception;

    void updateByPetDto(PetDto petDto) ;

    void onsale(List<Long> ids);

    void offsale(List<Long> ids);
}
